package com.mingmen.supplier.model;

import java.util.List;

public class ShopListModel {


    /**
     * code : 0
     * message : 操作成功
     * time : 2020-08-12 10:41:24
     * data : [{"commodityId":"1288724611470999552","photo":"/uploadimg/2020-08-06/53fd37ef-1e62-4181-ab2a-a049a74f67a7.jpeg","commodityName":"商品1","specs":"啊","transitAmount":68,"applyAmount":140,"mark":"","applyId":"","detailId":"","limitDate":"","timeSpan":"","commodityCount":0,"inventory":0,"status":"","quotePrice":0,"realPrice":0,"collectionFlag":"0","cancelFlag":"0"},{"commodityId":"1288724702780997632","photo":"/uploadimg/2020-08-06/267bdd05-61b3-403a-be43-16c51e129619.jpeg","commodityName":"商品2","specs":"啊","transitAmount":0,"applyAmount":44,"mark":"","applyId":"","detailId":"","limitDate":"","timeSpan":"","commodityCount":0,"inventory":0,"status":"","quotePrice":0,"realPrice":0,"collectionFlag":"0","cancelFlag":"0"},{"commodityId":"1288724725941944320","photo":"/uploadimg/2020-08-06/47a5244b-3a73-42fd-a131-cb372ff7c37f.jpeg","commodityName":"商品3","specs":"啊","transitAmount":0,"applyAmount":13,"mark":"","applyId":"","detailId":"","limitDate":"","timeSpan":"","commodityCount":0,"inventory":0,"status":"","quotePrice":0,"realPrice":0,"collectionFlag":"0","cancelFlag":"0"},{"commodityId":"1288724764449849344","photo":"/uploadimg/2020-08-06/1fa5848d-e69e-4363-ba6a-3082677f0167.jpeg","commodityName":"商品4","specs":"啊","transitAmount":0,"applyAmount":9,"mark":"","applyId":"","detailId":"","limitDate":"","timeSpan":"","commodityCount":0,"inventory":0,"status":"","quotePrice":0,"realPrice":0,"collectionFlag":"0","cancelFlag":"0"},{"commodityId":"1288724784955801600","photo":"/uploadimg/2020-08-06/0ad03f63-4075-440a-9fd8-0416c535238b.jpeg","commodityName":"商品5","specs":"啊","transitAmount":2,"applyAmount":3,"mark":"","applyId":"","detailId":"","limitDate":"","timeSpan":"","commodityCount":0,"inventory":0,"status":"","quotePrice":0,"realPrice":0,"collectionFlag":"0","cancelFlag":"0"},{"commodityId":"1288724805184929792","photo":"/uploadimg/2020-08-06/9d861e5d-7743-4d4f-ab08-aa2cbc12506a.jpeg","commodityName":"商品6","specs":"啊","transitAmount":0,"applyAmount":6,"mark":"","applyId":"","detailId":"","limitDate":"","timeSpan":"","commodityCount":0,"inventory":0,"status":"","quotePrice":0,"realPrice":0,"collectionFlag":"0","cancelFlag":"0"},{"commodityId":"1288724828253601792","photo":"/uploadimg/2020-08-06/13ac02e3-a1b3-4dbc-8c3b-d3554b509f85.jpeg","commodityName":"商品7","specs":"啊","transitAmount":0,"applyAmount":4,"mark":"","applyId":"","detailId":"","limitDate":"","timeSpan":"","commodityCount":0,"inventory":0,"status":"","quotePrice":0,"realPrice":0,"collectionFlag":"0","cancelFlag":"0"}]
     */

    private int code;
    private String message;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * commodityId : 1288724611470999552
         * photo : /uploadimg/2020-08-06/53fd37ef-1e62-4181-ab2a-a049a74f67a7.jpeg
         * commodityName : 商品1
         * specs : 啊
         * transitAmount : 68.0
         * applyAmount : 140.0
         * mark :
         * applyId :
         * detailId :
         * limitDate :
         * timeSpan :
         * commodityCount : 0
         * inventory : 0
         * status :
         * quotePrice : 0
         * realPrice : 0
         * collectionFlag : 0
         * cancelFlag : 0
         */

        private String commodityId;
        private String photo;
        private String commodityName;
        private String specs;
        private double transitAmount;
        private int applyAmount;
        private String mark;
        private String applyId;
        private String detailId;
        private String limitDate;
        private String timeSpan;
        private int commodityCount;
        private int inventory;
        private String status;
        private int quotePrice;
        private int realPrice;
        private String collectionFlag;
        private String cancelFlag;
        private boolean isChecked = false;

        public boolean isChecked() {
            return isChecked;
        }

        public void setChecked(boolean checked) {
            isChecked = checked;
        }

        public String getCommodityId() {
            return commodityId;
        }

        public void setCommodityId(String commodityId) {
            this.commodityId = commodityId;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getCommodityName() {
            return commodityName;
        }

        public void setCommodityName(String commodityName) {
            this.commodityName = commodityName;
        }

        public String getSpecs() {
            return specs;
        }

        public void setSpecs(String specs) {
            this.specs = specs;
        }

        public double getTransitAmount() {
            return transitAmount;
        }

        public void setTransitAmount(double transitAmount) {
            this.transitAmount = transitAmount;
        }

        public int getApplyAmount() {
            return applyAmount;
        }

        public void setApplyAmount(int applyAmount) {
            this.applyAmount = applyAmount;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }

        public String getApplyId() {
            return applyId;
        }

        public void setApplyId(String applyId) {
            this.applyId = applyId;
        }

        public String getDetailId() {
            return detailId;
        }

        public void setDetailId(String detailId) {
            this.detailId = detailId;
        }

        public String getLimitDate() {
            return limitDate;
        }

        public void setLimitDate(String limitDate) {
            this.limitDate = limitDate;
        }

        public String getTimeSpan() {
            return timeSpan;
        }

        public void setTimeSpan(String timeSpan) {
            this.timeSpan = timeSpan;
        }

        public int getCommodityCount() {
            return commodityCount;
        }

        public void setCommodityCount(int commodityCount) {
            this.commodityCount = commodityCount;
        }

        public int getInventory() {
            return inventory;
        }

        public void setInventory(int inventory) {
            this.inventory = inventory;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public int getQuotePrice() {
            return quotePrice;
        }

        public void setQuotePrice(int quotePrice) {
            this.quotePrice = quotePrice;
        }

        public int getRealPrice() {
            return realPrice;
        }

        public void setRealPrice(int realPrice) {
            this.realPrice = realPrice;
        }

        public String getCollectionFlag() {
            return collectionFlag;
        }

        public void setCollectionFlag(String collectionFlag) {
            this.collectionFlag = collectionFlag;
        }

        public String getCancelFlag() {
            return cancelFlag;
        }

        public void setCancelFlag(String cancelFlag) {
            this.cancelFlag = cancelFlag;
        }
    }
}
